FluentCrm\App\Http\Controllers\CampaignController C

Total Complexity 117
Dependencies 12
Dependents 0
Total lines 1,037
Lines of code 809
Logical lines of code 373
Comment lines 4
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
getCampaignStatus()
B
33 19 99
getEmailPreviewBody()
A
40 14 60
sendTestEmail()
A
34 10 97
subscribe()
A
39 10 69
update()
A
42 9 53
campaigns()
S
52 6 23
processingStat()
S
51 5 26
schedule()
S
45 3 44
unSchedule()
S
52 4 26
getContactEstimation()
S
53 4 24
campaignEmails()
S
53 4 22
updateCampaignTitle()
S
54 3 22
handleBulkAction()
S
53 3 22
campaign()
S
55 3 19
draftRecipients()
S
51 2 27
resumeCampaign()
S
55 2 20
pauseCampaign()
S
56 2 19
validateRecipientsSelection()
S
56 2 19
deleteCampaignEmails()
S
57 2 17
recipientsCount()
S
59 2 16
duplicateCampaign()
S
50 1 28
previewEmail()
S
62 2 12
createTemplate()
S
61 1 12
create()
S
63 1 11
updateStep()
S
68 1 7
unsubscribe()
S
66 1 8
delete()
S
68 1 7